package com.zh.work.entity.channel;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("狂阶商户实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("quick_merch")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QuickMerchEntity extends Model<QuickMerchEntity> {

  private static final long serialVersionUID = -1073924482979587285L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "逻辑删除字段", name = "deleted")
  @TableLogic
  private Integer deleted;
  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道名称", name = "channelName")
  @TableField(exist = false)
  private String channelName;
  @ApiModelProperty(value = "渠道商户号", name = "merchNo")
  @TableField(value = "merchno")
  private String merchNo;
  @ApiModelProperty(value = "渠道商户名称", name = "merchName")
  private String merchName;
  @ApiModelProperty(value = "MD5密钥", name = "keyMd5")
  private String keyMd5;
  @ApiModelProperty(value = "商户私钥", name = "keyRsa")
  private String keyRsa;
  @ApiModelProperty(value = "状态(1-启用 2-禁用)", name = "status")
  private Integer status;
  @ApiModelProperty(value = "渠道终端号", name = "termNo")
  @TableField(value = "termno")
  private String termNo;
  @ApiModelProperty(value = "平台商户号", name = "platformMerchNo")
  @TableField(value = "platform_merchno")
  private String platformMerchNo;
  @ApiModelProperty(value = "结算类型1-T+0，2-T+1，4-全部", name = "settleType")
  private Integer settleType;


}
